package com.hoshiicloud.mallshop.dto;

import com.hoshiicloud.mallshop.param.UpdateRefundInfoParam;
import com.hoshiicloud.saleorder.entity.Consultations;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author qry
 * @date 2019/9/6 11:04
 */
@Data
@ApiModel("退款单消息队列透传对象")
public class RefundRbmqJsonDto implements Serializable {
    @ApiModelProperty("退款单ID")
    private Long refundId;

    @ApiModelProperty("子订单ID，order_info.id")
    private Long orderInfoId;

    @ApiModelProperty("子订单的商品数量")
    private Integer orderInfoQty;

    @ApiModelProperty("退款单服务类型 1-仅退款 2-退货退款")
    private Integer refundServiceType;

    @ApiModelProperty("主订单ID，order_main.id")
    private Long orderMainId;

    @ApiModelProperty("主订单ID,售后状态")
    private Integer orderMainOrderStatus;

    @ApiModelProperty("商家协商历史信息")
    private Consultations c1;

    @ApiModelProperty("系统协商历史信息")
    private Consultations c2;

    @ApiModelProperty("退款单更新状态参数")
    private UpdateRefundInfoParam refundOrderUpParam;

    @ApiModelProperty("库存返还的ext_sku_id")
    private Long extSkuId;

    @ApiModelProperty("申请退款数量,也是库存要返还数量")
    private Long refundQty;

    @ApiModelProperty("店铺Id")
    private Long storeId;


}
